home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20041116-20060924
/
000200_fdc@columbia.edu_Thu Nov 10 13:27:09 2005.msg
< prev
next >
Wrap
Internet Message Format
|
2006-09-27
|
3KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Rasdial
Date: 10 Nov 2005 18:27:03 GMT
Organization: Columbia University
Lines: 42
Message-ID: <slrndn747n.kf9.fdc@sesame.cc.columbia.edu>
References: <1131644305.487949.290000@g43g2000cwa.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1131647223 10736 128.59.59.56 (10 Nov 2005 18:27:03 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Nov 2005 18:27:03 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15447
On 2005-11-10, malone <malonespam@cox.net> wrote:
: There are times that I automate a connection to other servers using
: Rasdial and the conenction is either busy or no carrier is detected or
: what ever. I am looking for a way to capture its error state, examine
: it in kermit and take appropriate actions.
:
: For example if the line is busy I want kermit to examine rasdials state
: and not redial imediatly but rather redial after other scripts ran. If
: the carrier was not detected I would want it to redial. and if it
: continues not connecting I would want it to notify me.
:
: Is this possible?
:
: if it is not possible to grab this variable using Kermit, is there
: another language like perl or java that could be used instead?
:
I don't think there is any way to do this in Windows. As explained in the
K95 FAQ:
http://www.columbia.edu/kermit/k95faq.html#modems
(item "Can K95 dial my ISP?"):
Because of Kermit 95's flexibility and programmability, many people ask us
if there is a way that Kermit 95 can be used to make Dial Up Networking
connections, in place of the standard Windows way. A variation on this
question is: since Kermit can make modem calls, can I use it to make dialed
connections to FTP servers? Unfortunately, the answer is no; Microsoft does
not provide a way to let an application make a connection to a PPP or SLIP
or FTP server (or Microsoft Windows Terminal Server) and then turn the
connection over to the TCP/IP (or other network protocol) stack. The only
way in Windows 95/98/ME or NT/2000/XP to make a dialup networking connection
is with the built-in Dialup Networking dialer or (in Windows NT) RAS (see
notes about RAS HERE). OS/2, on the other hand, allows this and Kermit 95
for OS/2 has this feature for both PPP and SLIP.
This was written a long time ago but I'm not aware that anything has changed,
nor am I aware of any way to access the state of the RAS dialer. As noted,
this could be done in OS/2 or, for that matter, most versions of Unix, such
as Linux.
- Frank